#ifndef BOX_H
#define BOX_H
#include "darknet.h"

typedef struct{
    float dx, dy, dw, dh;
} dbox;
float box_diounms(box a, box b, float beta1);
float mh_dis_norm(box a, box b);
float box_rmse(box a, box b);
float center_dis(box a,box b);
dbox diou(box a, box b);
box decode_box(box b, box anchor);
box encode_box(box b, box anchor);
int is_inner_box(box a, box b);
#endif
